<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-html"  prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-bean"  prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

<%@ taglib tagdir="/WEB-INF/tags/" prefix="page" %>
<page:Index>
<div align="center">
    <logic:messagesPresent message="true">   
    <html:messages id="message" message="true">   
    <bean:write name="message"/>   
    </html:messages>   
    </logic:messagesPresent> 
    
    <div align = "center" class="box boxA">     
        <html:form action="/login" focus="systemUser.login" method="post" target="_top" >
        <div class="boxContent">
            <table border="0" width="100%" align="center">
                <tr>
                    <td align="left">
                        <span>
                            Usuário:&nbsp;&nbsp;<br>
                            <html:text property = "systemUser.login" size="20" styleClass="text"/>
                        </span>
                    </td>                
                </tr>
                <tr>
                    <td align="left">
                        <span>
                            Senha:&nbsp;&nbsp;<br>
                            <html:password property = "systemUser.password" size="20" styleClass="text"/>
                        </span>
                    </td>                
                </tr>
                
            </table>
            
            <br>
            <table border="0" width="100%" align="center">
                <tr align="center">
                    <td><html:submit styleClass="button">Enviar Dados</html:submit> &nbsp;&nbsp;
                    <html:reset styleClass="button"> Limpar </html:reset></td>
                </tr>
            </table>
        </div>
        <br>        
        </html:form>    
    </div>
</div>
</page:Index>
